package top.wardyan.wbaseswt.conf.model;

 import java.sql.Timestamp;

import top.wardyan.base.common.annotation.Table;
import top.wardyan.base.db.model.base.BaseNonstandardModel;
import top.wardyan.wbaseswt.conf.config.AppConfig;


@Table(tableName="SYSCONFIG",primaryKey="sID",configName=AppConfig.CONFIGNAME)
public class SysConfig extends BaseNonstandardModel<SysConfig> {

	// private static final cn.hutool.log.Log log = cn.hutool.log.Log.get();
	
	// sID已经在父类里了
	
	public String getXName() {
		return this.getStr("xName");
	}
	public SysConfig setXName(String xName) {
		this.set("xName", xName);
		return this;
	}

	public Boolean getXIsEnable() {
		return this.getBoolean("xIsEnable");
	}
	public SysConfig setXType(Boolean xIsEnable) {
		this.set("xIsEnable", xIsEnable);
		return this;
	}
	public Integer getXType() {
		return this.getInt("xType");
	}
	public SysConfig setXType(Integer xType) {
		this.set("xType", xType);
		return this;
	}
	public String getXDBName() {
		return this.getStr("xDBName");
	}
	public SysConfig setXDBName(String xDBName) {
		this.set("xDBName", xDBName);
		return this;
	}
	public Integer getXDBType() {
		return this.getInt("xDBType");
	}
	public SysConfig setXDBType(Integer xDBType) {
		this.set("xDBType", xDBType);
		return this;
	}
	
	public String getXHost() {
		return this.getStr("xHost");
	}
	public SysConfig setXHost(String xHost) {
		this.set("xHost", xHost);
		return this;
	}
	public Integer getXPort() {
		return this.getInt("xPort");
	}
	public SysConfig setXPort(Integer xPort) {
		this.set("xPort", xPort);
		return this;
	}
	public String getXUserName() {
		return this.getStr("xUserName");
	}
	public SysConfig setXUserName(String xUserName) {
		this.set("xUserName", xUserName);
		return this;
	}
	public String getXPassword() {
		return this.getStr("xPassword");
	}
	public SysConfig setXPassword(String xPassword) {
		this.set("xPassword", xPassword);
		return this;
	}

	public Timestamp getSCreateDate() {
		return this.getTimestamp("sCreateDate");
	}
	public SysConfig setSCreateDate(String sCreateDate) {
		this.set("sCreateDate", sCreateDate);
		return this;
	}
	public Timestamp getSLastUpdate() {
		return this.getTimestamp("sLastUpdate");
	}
	public SysConfig setSLastUpdate(String sLastUpdate) {
		this.set("sLastUpdate", sLastUpdate);
		return this;
	}
	public Integer getSVerNo() {
		return this.getInt("sVerNo");
	}
	public SysConfig setSVerNo(Integer sVerNo) {
		this.set("sVerNo", sVerNo);
		return this;
	}
	
}
